package com.laborer.PTSS.service;

import java.util.List;

import com.laborer.PTSS.domain.Comment;
import com.laborer.PTSS.domain.Course;
import com.laborer.PTSS.domain.Message;
import com.laborer.PTSS.domain.User;

public interface CourseService {
    public List<Course> getCourseByType(String type);

    public List<Course> getCourseByUid(String uid);

    public void saveOne(String title, String type, String price, String place, String description, String uid);

    public Course getDetail(String id);

    public List<Comment> getComment(String id);

    public void comment(String comment, String id);

    public List<User> getUser();

    public List<Message> getCommentUser(String username);

    public User getUserInfo(String username);

    List<Course> getBuyCourseByUid(String id);
}
